<div class="breadcrumbs" id="breadcrumbs">
	<ul class="breadcrumb">
		<li><i class="icon-home home-icon"></i><a href="#">Home</a></li>
		<li><a href="<?php echo Yii::app()->controller->createUrl('index'); ?>">Departments</a></li>
		<li><a href="<?php Rights::getBaseUrl(); ?>">Update</a></li>
		<li class="current"><?php echo $model->name; ?></li>
	</ul>
	<script type="text/javascript">
		try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
	</script>
</div>
<div class="col-xs-12">
	<div class="page-content">
		<div class="page-header">
			<div class="clearfix">
				<div class="pull-left">
					<h1>
						<h1>Update Departments <?php echo $model->name; ?></h1>
					</h1>
				</div>
			</div>
		</div>
		
		<div class="col-xs-12">
			<?php 
				$this->beginWidget('zii.widgets.CPortlet', array(
					'htmlOptions'=>array(
						'class'=>''
					)
				));
				$this->widget('bootstrap.widgets.TbMenu', array(
					'type'=>'pills',
					'items'=>array(
						array('label'=>'Create', 'icon'=>'icon-plus', 'url'=>Yii::app()->controller->createUrl('create'), 'linkOptions'=>array()),
								array('label'=>'List', 'icon'=>'icon-th-list', 'url'=>Yii::app()->controller->createUrl('index'), 'linkOptions'=>array()),
								array('label'=>'Update', 'icon'=>'icon-edit', 'url'=>Yii::app()->controller->createUrl('update',array('id'=>$model->id)),'active'=>true, 'linkOptions'=>array()),
					),
				));
				$this->endWidget();
			?>

			<?php echo $this->renderPartial('_form',array('model'=>$model)); ?>
	</div><!-- /span -->
		
	</div>
</div>

